﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace Ccit.OA.MsNotify
{
    /// <summary>
    /// NTF_A1
    /// </summary>
    public class MsNotifyClass
    {
        #region 私有属性
        private string _id;             //id
        private string _name;           //名称
        private string _rangemark;      //调查范围标志
        private string _range;          //调查范围
        private string _temcontent;     //模板内容
        private string _state;          //有效无效
        #endregion
        #region 共有属性
        /// <summary>
        /// id
        /// </summary>
        public string id
        {
            set { _id = value; }
            get { return ((!string.IsNullOrEmpty(_id)) ? _id : ""); }
        }
        /// <summary>
        /// _name
        /// </summary>
        public string name
        {
            set { _name = value; }
            get { return ((!string.IsNullOrEmpty(_name)) ? _name : ""); }
        }
        /// <summary>
        /// 调查范围标志
        /// </summary>
        public string rangemark
        {
            set { _rangemark = value; }
            get { return ((!string.IsNullOrEmpty(_rangemark)) ? _rangemark : ""); }
        }
        /// <summary>
        /// 调查范围
        /// </summary>
        public string range
        {
            set { _range = value; }
            get { return ((!string.IsNullOrEmpty(_range)) ? _range : ""); }
        }
        /// <summary>
        /// _temcontent
        /// </summary>
        public string temcontent
        {
            set { _temcontent = value; }
            get { return ((!string.IsNullOrEmpty(_temcontent)) ? _temcontent : ""); }
        }
        /// <summary>
        /// _state
        /// </summary>
        public string state
        {
            set { _state = value; }
            get { return ((!string.IsNullOrEmpty(_state)) ? _state : ""); }
        }
        #endregion
        #region method
        public MsNotifyClass()
        { }
        public MsNotifyClass(string sId,string sName,string sRangeMark,string sRange,string sTemContent,string sState)
        {
            _id = sId;
            _name = sName;
            _rangemark = sRangeMark;
            _range = sRange;
            _temcontent = sTemContent;
            _state = sState;
        }
        #endregion
    }
}
